package com.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.crm.entity.CrmEmployeeProject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.model.bo.EmployeeProjectPageBo;
import com.crm.model.vo.EmployeeProjectVo;
import com.crm.model.vo.ReportCountVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author CRM_SYSTEM
 * @since 2022-03-30
 */
public interface CrmEmployeeProjectMapper extends BaseMapper<CrmEmployeeProject> {

    IPage<EmployeeProjectVo> queryPage(@Param("pageParam") IPage<EmployeeProjectVo> pageParam, @Param("page") EmployeeProjectPageBo page);

    List<ReportCountVo> orderCount();
}
